package user;

import book.BookList;
import operation.IOperation;

public abstract class User {
    protected String name;
    protected IOperation[] iOperations;
    public abstract int menu();

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public IOperation[] getiOperations() {
        return iOperations;
    }

    public void setiOperations(IOperation[] iOperations) {
        this.iOperations = iOperations;
    }

    public abstract void doOperation(int choice,BookList bookList);
}
